using System;
using Framework.Library.Core.Utils;

namespace Framework.Library.Data.DAL
{
    public class TeenioInfo : TeenioContent
    {
        public int CONTENT_MENUID { set; get; }
    }

    [Serializable]
    public class TeenioContent : DALEntity
    {
        public TeenioContent()
		{
			Key = "CONTENT_ID";
            Table = "TEENIO_CONTENTS";
		}
		public int CONTENT_ID
		{
			get
			{
				return GetValue<int>("CONTENT_ID");
			}
			set
			{
				SetValue("CONTENT_ID", value);
			}
		}
		public string CONTENT_HEADLINE
		{
			get
			{
				return GetValue<string>("CONTENT_HEADLINE");
			}
			set
			{
				SetValue("CONTENT_HEADLINE", value);
			}
		}
		public string CONTENT_TEASER
		{
			get
			{
				return GetValue<string>("CONTENT_TEASER");
			}
			set
			{
				SetValue("CONTENT_TEASER", value);
			}
		}
		public string CONTENT_BODY
		{
			get
			{
				return GetValue<string>("CONTENT_BODY");
			}
			set
			{
				SetValue("CONTENT_BODY", value);
			}
		}
		public string CONTENT_PREAVATAR
		{
			get
			{
				return GetValue<string>("CONTENT_PREAVATAR");
			}
			set
			{
				SetValue("CONTENT_PREAVATAR", value);
			}
		}
		public string CONTENT_AVATAR
		{
			get
			{
				return GetValue<string>("CONTENT_AVATAR");
			}
			set
			{
				SetValue("CONTENT_AVATAR", value);
			}
		}
		public string CONTENT_AVATARDESCRIPTION
		{
			get
			{
				return GetValue<string>("CONTENT_AVATARDESCRIPTION");
			}
			set
			{
				SetValue("CONTENT_AVATARDESCRIPTION", value);
			}
		}
		public string CONTENT_SOURCE
		{
			get
			{
				return GetValue<string>("CONTENT_SOURCE");
			}
			set
			{
				SetValue("CONTENT_SOURCE", value);
			}
		}
		public string CONTENT_METADATA
		{
			get
			{
				return GetValue<string>("CONTENT_METADATA");
			}
			set
			{
				SetValue("CONTENT_METADATA", value);
			}
		}
		public int CONTENT_PORTALID
		{
			get
			{
				return GetValue<int>("CONTENT_PORTALID");
			}
			set
			{
				SetValue("CONTENT_PORTALID", value);
			}
		}
        public int CONTENT_CATEGORYID
		{
			get
			{
                return GetValue<int>("CONTENT_CATEGORYID");
			}
			set
			{
                SetValue("CONTENT_CATEGORYID", value);
			}
		}
		public int CONTENT_ZONEID
		{
			get
			{
				return GetValue<int>("CONTENT_ZONEID");
			}
			set
			{
				SetValue("CONTENT_ZONEID", value);
			}
		}
		public DateTime CONTENT_CREATEDATE
		{
			get
			{
				return GetValue<DateTime>("CONTENT_CREATEDATE");
			}
			set
			{
				SetValue("CONTENT_CREATEDATE", value);
			}
		}
		public DateTime CONTENT_WAITTINGDATE
		{
			get
			{
				return GetValue<DateTime>("CONTENT_WAITTINGDATE");
			}
			set
			{
				SetValue("CONTENT_WAITTINGDATE", value);
			}
		}
		public DateTime CONTENT_MODIFYDDATE
		{
			get
			{
				return GetValue<DateTime>("CONTENT_MODIFYDDATE");
			}
			set
			{
				SetValue("CONTENT_MODIFYDDATE", value);
			}
		}
		public DateTime CONTENT_EXPIREDATE
		{
			get
			{
				return GetValue<DateTime>("CONTENT_EXPIREDATE");
			}
			set
			{
				SetValue("CONTENT_EXPIREDATE", value);
			}
		}
		public int CONTENT_CREATEUSERID
		{
			get
			{
				return GetValue<int>("CONTENT_CREATEUSERID");
			}
			set
			{
				SetValue("CONTENT_CREATEUSERID", value);
			}
		}
        public string CONTENT_CREATEUSERNAME
        {
            get
            {
                return GetValue<string>("CONTENT_CREATEUSERNAME");
            }
            set
            {
                SetValue("CONTENT_CREATEUSERNAME", value);
            }
        }
		public int CONTENT_MODIFYUSERID
		{
			get
			{
				return GetValue<int>("CONTENT_MODIFYUSERID");
			}
			set
			{
				SetValue("CONTENT_MODIFYUSERID", value);
			}
		}
		public int CONTENT_APPROVEUSERID
		{
			get
			{
				return GetValue<int>("CONTENT_APPROVEUSERID");
			}
			set
			{
				SetValue("CONTENT_APPROVEUSERID", value);
			}
		}
		public int CONTENT_RANK
		{
			get
			{
				return GetValue<int>("CONTENT_RANK");
			}
			set
			{
				SetValue("CONTENT_RANK", value);
			}
		}
		public int CONTENT_TYPE
		{
			get
			{
				return GetValue<int>("CONTENT_TYPE");
			}
			set
			{
				SetValue("CONTENT_TYPE", value);
			}
		}
		public int CONTENT_STATUS
		{
			get
			{
				return GetValue<int>("CONTENT_STATUS");
			}
			set
			{
				SetValue("CONTENT_STATUS", value);
			}
		}
		public int CONTENT_ISPAY
		{
			get
			{
                return GetValue<int>("CONTENT_ISPAY");
			}
			set
			{
                SetValue("CONTENT_ISPAY", value);
			}
		}
        public int CONTENT_ISCOMMENT
		{
			get
			{
                return GetValue<int>("CONTENT_ISCOMMENT");
			}
			set
			{
                SetValue("CONTENT_ISCOMMENT", value);
			}
		}
		public string CONTENT_UNUNICODE
		{
			get
			{
				return GetValue<string>("CONTENT_UNUNICODE");
			}
			set
			{
				SetValue("CONTENT_UNUNICODE", value);
			}
		}

        public int MENUID
        {
            get
            {
                return GetValue<int>("MENUID");
            }
            set
            {
                SetValue("MENUID", value);
            }
        }

        public string CONTENT_PLAYER
		{
			get
			{
                return GetValue<string>("CONTENT_PLAYER");
			}
			set
			{
                SetValue("CONTENT_PLAYER", value);
			}
		} 
        public int CONTENT_HIT
		{
			get
			{
                return GetValue<int>("CONTENT_HIT");
			}
			set
			{
                SetValue("CONTENT_HIT", value);
			}
		}
        public int CONTENT_RATE
		{
			get
			{
                return GetValue<int>("CONTENT_RATE");
			}
			set
			{
                SetValue("CONTENT_RATE", value);
			}
		} 
    }
}